package com.crm.jdy.common.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum  CallEnum implements CodeEnums<Integer>   {

    NO_DISTRIBTEAM(0, "自行添加"),
    NO_DISTRIBUTE_TEAM(1, "待分配团队"),
    NO_DISTRIBUTE_STAFF(2, "待分配坐席"),
    DISTRIBUTE_STAFF(3, "已分配坐席");

//    @EnumValue
    private Integer code;

    @JsonValue
    private String value;

    CallEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

}

